<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>CSS选择器</title>
        <style>
            * {
                font-size: 16px;
                font-weight: bold;
            }

            p {
                color: red;
            }

            .p2 {
                color: blue;
            }

            #p3 {
                color: green;
            }

            .text {
                text-indent: 100px;
                text-align: center;
                word-spacing: 10px;
                letter-spacing: 10px;
                text-transform: uppercase;
                text-decoration: underline;
            }
            .border {
                border-style: solid;
                border-width: 1px;
                border-color: red;
            }
        </style>
    </head>
    <body>
        <div class="text">文本配置属性 HelloWorld</div>
        <div class="border">设置元素的边框</div>
        <p>HelloWorld</p>
    </body>
</html>